package hcn.protocol.ods.commonClinical.resp.inspectionHisXML;
import hcn.protocol.base.hisPlateform.BaseHisPlateformClpInfoXmlRequest;
import hcn.protocol.ods.commonClinical.req.inspectionHisXML.*;
import hcn.protocol.ods.commonClinical.resp.CountsMsg;
import hcn.protocol.ods.commonClinical.resp.MsgHeader;


import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.List;

/**
 * @Description: 核酸自主开单
 * @Author: zhaorb
 * @Date: 2020/8/4 13:23
 **/
@XmlRootElement(name = "BSXml")
@XmlAccessorType(XmlAccessType.FIELD)
public class SaveNatInspectionInfoResponse implements Serializable {
    private MsgHeader MsgHeader;
    private MsgBody MsgBody;
    private CountsMsg CountsMsg;

    public MsgHeader getMsgHeader() {
        return MsgHeader;
    }

    public void setMsgHeader(MsgHeader msgHeader) {
        MsgHeader = msgHeader;
    }
    public CountsMsg getCountsMsg() {
        return CountsMsg;
    }

    public void setCountsMsg(CountsMsg countsMsg) {
        CountsMsg = countsMsg;
    }

    public MsgBody getMsgBody() {
        return MsgBody;
    }

    public void setMsgBody(MsgBody msgBody) {
        MsgBody = msgBody;
    }

    @XmlRootElement(name = "MsgBody")
    public static class MsgBody{
        private PatientHis Patient;
        private Visit Visit;
        private LabRequest LabRequest;
        private List<BaseHisPlateformClpInfoXmlRequest> clpInfos;

        @XmlElementWrapper(name = "ClpInfos")
        @XmlElement(name = "ClpInfo")
        public List<BaseHisPlateformClpInfoXmlRequest> getClpInfos() {
            return clpInfos;
        }

        public void setClpInfos(List<BaseHisPlateformClpInfoXmlRequest> clpInfos) {
            this.clpInfos = clpInfos;
        }

        @XmlElement(name = "Patient")
        public PatientHis getPatient() {
            return Patient;
        }

        public void setPatient(PatientHis patient) {
            Patient = patient;
        }

        @XmlElement(name = "Visit")
        public Visit getVisit() {
            return Visit;
        }

        public void setVisit(Visit visit) {
            Visit = visit;
        }

        @XmlElement(name = "LabRequest")
        public LabRequest getLabRequest() {
            return LabRequest;
        }

        public void setLabRequest(LabRequest labRequest) {
            LabRequest = labRequest;
        }
    }
}
